
#ifndef XBEEMESSAGE_H
#define XBEEMESSAGE_H

class XBeeMessage {
public:
    XBeeMessage();
    ~XBeeMessage();
    
    char apiID;
    char frameID;
    
    char* rawData;
    int rawDataLength;
    
    char* msgData;
    int msgDataLength;
    
    bool use16BitAddress;
    bool use64BitAddress;
    unsigned short address16;
    unsigned long address64;
    
    void set16BitAddress(unsigned short);
    void set64BitAddress(unsigned long);
    
    int getMessageSum();
};

#endif
